package com.gongj.xml;

import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;

public class Main2 {
/*测试 InstantiationAwareBeanPostProcessor */
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context =
				new ClassPathXmlApplicationContext("spring-config.xml");
		Object person = context.getBean("person");
		System.out.println("最终对象："+person);
	}
}
